package com.yunhe.device.domain.base;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.neo4j.ogm.annotation.Id;
import org.neo4j.ogm.annotation.NodeEntity;
import org.neo4j.ogm.annotation.Property;

/**
 * 基础电压对象
 * @desc 基础电压对象定义
 * @author liuronglei
 */
@ApiModel(value = "BaseVoltage", description = "电压等级")
@NodeEntity
public class BaseVoltage {
    @ApiModelProperty(value = "等级ID")
    @Id
    private Long id;
    @ApiModelProperty(value = "代码")
    @Property(name = "code")
    private Long code;
    @ApiModelProperty(value = "名称")
    @Property(name = "name")
    private String name;
    @ApiModelProperty(value = "基准电压（kV）")
    @Property(name = "nomKV")
    private Double nomKV;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCode() {
        return code;
    }

    public void setCode(Long code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Double getNomKV() {
        return nomKV;
    }

    public void setNomKV(Double nomKV) {
        this.nomKV = nomKV;
    }
}
